package com.kgc.service;

import com.kgc.entity.MenuInfo;
import com.kgc.entity.vo.MenuInfoVo;

import java.util.List;
import java.util.Map;

public interface MenuInfoService {

    Map<String,Object> getMenuInfo(Integer userId);

    List<MenuInfo> getMenuInfoAll();

    int delMenuInfoById(Integer menuId,Integer status);

    List<MenuInfo> getMenuInfoOne();

    int addMenuInfo(MenuInfo menuInfo);

    MenuInfo getMenuInfoById(Integer id);

    int updateMenuInfo(MenuInfo menuInfo);

    int countMenuByPId(Integer menuId);

    List<Map<String, Object>> getMenuTree(Integer roleId);

    List<Map<String, Object>> getCMenuTree(Integer userId);
}
